package business.modelLocators
{
	import mx.collections.ArrayCollection;
	import mx.core.IFlexDisplayObject;
	import mx.managers.PopUpManager;
	
	import valueObjects.User;
	
	[Bindable]
	public class UserModelLocator
	{
		public function UserModelLocator()
		{
		}
		public static function getInstance():UserModelLocator {
			if(instance == null) {
				instance = new UserModelLocator();
			}
			return instance;	
		}
		public function closeLoginRegionWindow():void {
			PopUpManager.removePopUp(loginRegionWindow);
		}
		private static var instance:UserModelLocator = null;
		public var userTypes:ArrayCollection;
		public var currentUser:User = new User();
		public var searchUser:User = new User();
		public var loginRegionWindow:IFlexDisplayObject;
	}
}